package com.controller.purchase;

import com.common.annotation.RequestCheck;
import com.service.purchase.InquiryService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.HashMap;
import java.util.Map;

import javax.servlet.http.HttpServletResponse;

/**
 * 采购管理 url跳转控制类
 */

@Controller
public class PurchaseController {
	static final Logger logger = LoggerFactory.getLogger(PurchaseController.class);

	/**
	 * url映射
	 * 
	 * @param
	 * @return
	 */
	@RequestMapping("purchase/purchaseSixCostLines")
	public Map<String, String> sixCostsOrdersLines() {
		Map<String, String> map = new HashMap<String, String>();
		map.put("key1", "value-1");
		return map;
	}

	@RequestMapping("/purchase/billGood")
	public Map<String, String> billGood() {
		Map<String, String> map = new HashMap<String, String>();
		map.put("key1", "value-1");
		return map;
	}

	/**
	 * url映射
	 *
	 * @param map
	 * @return
	 */
	@RequestMapping("/purchase/orderChange")
	public Map<String, String> orderChange() {
		Map<String, String> map = new HashMap<String, String>();
		map.put("key1", "value-1");
		return map;
	}

	/**
	 * url映射
	 *
	 * @param map
	 * @return
	 */
	@RequestMapping("/purchase/contractChange")
	public Map<String, String> contractChange() {
		Map<String, String> map = new HashMap<String, String>();
		map.put("key1", "value-1");
		return map;
	}

	/**
	 * 六大费用采购订单
	 *
	 * @return
	 */
	@RequestMapping("/purchase/purchaseSixCostsOrders")
	public Map<String, String> purchaseSixCostsOrders() {
		Map<String, String> map = new HashMap<String, String>();
		map.put("key1", "value-1");
		return map;
	}

	/**
	 * 六大费用采购订单发票挂账
	 *
	 * @return
	 */
	@RequestMapping("/purchase/purchaseSixCostGroup")
	public Map<String, String> purchaseSixCostGroup() {
		Map<String, String> map = new HashMap<String, String>();
		map.put("key1", "value-1");
		return map;
	}

	@RequestMapping("/purchase/goodPrint")
	public Map<String, String> goodPrint() {
		Map<String, String> map = new HashMap<String, String>();
		map.put("key1", "value-1");
		return map;
	}

	/**
	 * url映射
	 * 
	 * @param map
	 * @return
	 */
	@RequestMapping("/purchase/billCheck")
	public Map<String, String> billCheck() {
		Map<String, String> map = new HashMap<String, String>();
		map.put("key1", "value-1");
		return map;
	}

	@RequestMapping("/purchase/dealMm")
	public Map<String, String> dealMm() {
		Map<String, String> map = new HashMap<String, String>();
		map.put("key1", "value-1");
		return map;
	}

	@RequestMapping("/purchase/deal")
	public Map<String, String> deal() {
		Map<String, String> map = new HashMap<String, String>();
		map.put("key1", "value-1");
		return map;
	}

	@RequestMapping("/purchase/programMm")
	public Map<String, String> programMm() {
		Map<String, String> map = new HashMap<String, String>();
		map.put("key1", "value-1");
		return map;
	}

	@RequestMapping("/purchase/bill")
	public Map<String, String> bill() {
		Map<String, String> map = new HashMap<String, String>();
		map.put("key1", "value-1");
		return map;
	}

	@RequestMapping("/purchase/special")
	public Map<String, String> special() {
		Map<String, String> map = new HashMap<String, String>();
		map.put("key1", "value-1");
		return map;
	}

	@RequestMapping("/purchase/specialForce")
	public Map<String, String> specialForce() {
		Map<String, String> map = new HashMap<String, String>();
		map.put("key1", "value-1");
		return map;
	}

	@RequestMapping("/purchase/agree")
	public Map<String, String> agree() {
		Map<String, String> map = new HashMap<String, String>();
		map.put("key1", "value-1");
		return map;
	}

	/**
	 * url映射
	 * 
	 * @param map
	 * @return
	 */
	@RequestMapping("/purchase/good")
	public Map<String, String> good() {
		Map<String, String> map = new HashMap<String, String>();
		map.put("key1", "value-1");
		return map;
	}

	/**
	 * url映射
	 * 
	 * @param map
	 * @return
	 */
	@RequestMapping("/purchase/group")
	public Map<String, String> billGroup() {
		Map<String, String> map = new HashMap<String, String>();
		map.put("key1", "value-1");
		return map;
	}

	@RequestMapping("/purchase/order")
	public Map<String, String> order() {
		Map<String, String> map = new HashMap<String, String>();
		map.put("key1", "value-1");
		map.put("key2", "value-2");
		map.put("key3", "value-2");
		return map;
	}

	@RequestMapping("/purchase/contract")
	public Map<String, String> contract() {
		Map<String, String> map = new HashMap<String, String>();
		map.put("key1", "value-1");
		map.put("key2", "value-2");
		map.put("key3", "value-2");
		return map;
	}

	@RequestMapping("/purchase/need")
	public Map<String, String> need(HttpServletResponse response) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("key1", "value-1");
		map.put("key2", "value-2");
		map.put("key3", "value-2");
		return map;
	}

	/**
	 * url跳转
	 * 
	 * @return
	 */
	@RequestCheck(isAppr = false, isAuth = false, isSign = false, isToken = false)
	@RequestMapping("/purchase/inquiry")
	public Map<String, String> inquiry() {
		Map<String, String> map = new HashMap<String, String>();
		map.put("key1", "value-1");
		map.put("key2", "value-2");
		map.put("key3", "value-2");
		return map;
	}

	@RequestMapping("/purchase/offer")
	public Map<String, String> offer() {
		Map<String, String> map = new HashMap<String, String>();
		map.put("key1", "value-1");
		map.put("key2", "value-2");
		map.put("key3", "value-2");
		return map;
	}

	@RequestMapping("/purchase/plan")
	public Map<String, String> plan() {
		Map<String, String> map = new HashMap<String, String>();
		map.put("key1", "value-1");
		map.put("key2", "value-2");
		map.put("key3", "value-2");
		return map;
	}

	@RequestMapping("/purchase/program")
	public Map<String, String> program() {
		Map<String, String> map = new HashMap<String, String>();
		map.put("key1", "value-1");
		map.put("key2", "value-2");
		map.put("key3", "value-2");
		return map;
	}

	@RequestMapping("/purchase/progress")
	public Map<String, String> progress() {
		Map<String, String> map = new HashMap<String, String>();
		map.put("key1", "value-1");
		map.put("key2", "value-2");
		map.put("key3", "value-2");
		return map;
	}

	@RequestMapping("/purchase/result")
	public Map<String, String> result() {
		Map<String, String> map = new HashMap<String, String>();
		map.put("key1", "value-1");
		map.put("key2", "value-2");
		map.put("key3", "value-2");
		return map;
	}

	@RequestMapping("/purchase/reveal")
	public Map<String, String> reveal() {
		Map<String, String> map = new HashMap<String, String>();
		map.put("key1", "value-1");
		map.put("key2", "value-2");
		map.put("key3", "value-2");
		return map;
	}
}
